label: Remove a redundant assignment
authorTimm Bäder <mail@baedert.org>
Sun, 2 Jan 2022 08:46:28 +0000 (09:46 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 7 Jan 2022 16:21:37 +0000 (17:21 +0100)
commitb4089672780abd40719ae172fdd02eec229be81a
tree160c675b7e3f30f9b69a38eabab956dfcd3cf9c7
parentfef179b625689dd781f5ef9160854c1a76fa189b
label: Remove a redundant assignment

clang-tidy says:

gtklabel.c:1188:15: warning: Although the value stored to 'mid' is used in the enclosing expression, the value is never actually read from 'mid'
        min = mid = text_width;
              ^     ~~~~~~~~~~

Which seems right since mid will be assigned to at the beginning of the
next loop iteration anyway.
gtk/gtklabel.c